package com.wzh.musichome.mapper;

import com.wzh.musichome.entity.pojo.Score;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 评价 Mapper 接口
 * </p>
 *
 * @author wzh
 * @since 2020-12-10
 */
public interface ScoreMapper extends BaseMapper<Score> {

    /**
     *增加
     */
    public int insert(Score score);

    /**
     * 查总分
     */
    public int selectScoreSum(Integer songListId);

    /**
     * 查总评分人数
     */
    public int selectScoreNum(Integer songListId);
}
